#include<stdio.h>

/*第二十一课：学习do……while循环*/

int main()
{
    int X = 26;
    int gen = 0;
    do
    {
        gen++;
    } while (gen*gen<=X);
    printf("算数平方根为%d\n",gen-1);

    return 0;

}